<?php $this->headScript()->appendFile($this->js('plugins/jquery.timers.js'))
->captureStart()?>
 $(document).ready(function(){
$("#time-test p").everyTime(3000,function(i) {
    if(i==10)
     $(this).stopTime();
	$(this).html(i);
  });
});
<?php $this->headScript()->captureEnd()?>
<?php echo $this->translate('SFS')?> 首頁
<div id="demo">
<div id="time-test">
<p></p>
</div>
</div>

